package messages;

import java.io.Serializable;

public class GenericMessage implements Serializable
{

	private static final long serialVersionUID = 1L;
	
	public enum msgType
	{
		LoginMSG,
		LogoutMSG,
		BookSubjectsMSG,
		UsersMSG,
		BookMSG,
		SubscUpdateProfileMSG,
		SubscriberSearchBookMSG,
		LibrarianSearchUserMSG,
		LibrarianGetBookSubjectMSG,
		LibrarianRemoveCopyMSG,
		LibrarianRemoveBookMSG,
		LibrarianReturnBookMSG,
		LibrarianAddBookMSG,
		LibrarianEditBookMSG,
		LibrarianSearchCopyMSG,
		LibrarianAddCopyMSG,
		LibrarianEditCopyMSG,
		LibrarianManualExtMSG,
		Exit,
		SimpleIntMSG,
		BorrowMSG,
		OrderBookMSG,
		ViewHistoryMSG,
		SuspendMSG,
		ManagerSerachSubMSG,
		BorrowStatisticsMSG,
		SubBorrowMSG,
		SubExtendBorrowMSG,
		BorrowAndUserMSG,
		ActivityMSG,
		ManagerLatenessReportMSG,
		TOCMSG,
		RequestTOCMSG,
		DeleteTOCMSG
		
	};
	protected msgType type;
	
	public msgType getType()
	{
		return this.type;
	}
	
	public void setType(msgType type)
	{
		this.type = type;
	}
}
